package com.sudo.service.impl;

import com.sudo.mapper.my.SysInfoMapper;
import com.sudo.pojo.SysInfo;
import com.sudo.service.SysInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author：为道日损 2020-07-07 11:12
 * webSite：https://www.sudo.ren
 */
@Service
public class SysInfoServiceImpl implements SysInfoService {

    @Autowired
    private SysInfoMapper sysInfoMapper;

    @Override
    public List<SysInfo> getAllSysInfo() {
        return sysInfoMapper.selectAll();
    }
}
